package com.cl.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.stereotype.Component;

@Entity
@Table(name="enterprise_announce")
@Component
public class EnterpriseAnnounce {
	@Id
	private int post_id ;
	private String post_author ;
	private String post_name;
	private String post_properties;
	private String post_category;
	//private String work_district;
	private String work_district_prov;
	private String work_district_city;
	private String post_salary;
	private String person_number;
	private String post_education;
	private String work_years;
	private String post_discribe;
	private int data_flag;
	public int getPost_id() {
		return post_id;
	}
	public void setPost_id(int post_id) {
		this.post_id = post_id;
	}
	
	public String getPost_author() {
		return post_author;
	}
	public void setPost_author(String post_author) {
		this.post_author = post_author;
	}
	public String getPost_name() {
		return post_name;
	}
	public void setPost_name(String post_name) {
		this.post_name = post_name;
	}
	public String getPost_properties() {
		return post_properties;
	}
	public void setPost_properties(String post_properties) {
		this.post_properties = post_properties;
	}
	public String getPost_category() {
		return post_category;
	}
	public void setPost_category(String post_category) {
		this.post_category = post_category;
	}
	 
	public String getWork_district_prov() {
		return work_district_prov;
	}
	public void setWork_district_prov(String work_district_prov) {
		this.work_district_prov = work_district_prov;
	}
	public String getWork_district_city() {
		return work_district_city;
	}
	public void setWork_district_city(String work_district_city) {
		this.work_district_city = work_district_city;
	}
	public String getPost_salary() {
		return post_salary;
	}
	public void setPost_salary(String post_salary) {
		this.post_salary = post_salary;
	}
	public String getPerson_number() {
		return person_number;
	}
	public void setPerson_number(String person_number) {
		this.person_number = person_number;
	}
	public String getPost_education() {
		return post_education;
	}
	public void setPost_education(String post_education) {
		this.post_education = post_education;
	}
	public String getWork_years() {
		return work_years;
	}
	public void setWork_years(String work_years) {
		this.work_years = work_years;
	}
	public String getPost_discribe() {
		return post_discribe;
	}
	public void setPost_discribe(String post_discribe) {
		this.post_discribe = post_discribe;
	}
	
	public int getData_flag() {
		return data_flag;
	}
	public void setData_flag(int data_flag) {
		this.data_flag = data_flag;
	}
	@Override
	public String toString() {
		return "EnterpriseAnnounce [post_id=" + post_id + ", post_name=" + post_name + ", post_properties="
				+ post_properties + ", post_category=" + post_category + ", work_district=" + work_district_prov+work_district_city
				+ ", post_salary=" + post_salary + ", person_number=" + person_number + ", post_education="
				+ post_education + ", work_years=" + work_years + ", post_discribe=" + post_discribe + "]";
	}
	
}
